lionsApp
    .controller('ranking-personalCtrl', ['$scope', '$state', '$rootScope', 'lionsHttp', function ($scope, $state, $rootScope, lionsHttp) {
        lionsHttp.rankingPersonal({}, {}, function (data) {
            $scope.rankingList = data.data
            lionsHttp.total({}, {}, function (data) {
                $scope.totalAmount = data.data.total
                $scope.totalTimes = data.data.number
            })
        })
    }])